# $Id: PKGBUILD 65805 2012-02-22 12:44:32Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>

pkgname=perl-email-mime-contenttype
pkgver=1.015
pkgrel=3
pkgdesc="Parse a MIME Content-Type Header "
arch=('any')
url="http://search.cpan.org/dist/Email-MIME-ContentType"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-ContentType-$pkgver.tar.gz)
md5sums=('f098ffed16ccab03a3bd51449eba175f')

build() {
  cd  $srcdir/Email-MIME-ContentType-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
